<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<script type="text/javascript" src="/Blog/Public/js/jquery.js"></script>
		<script type="text/javascript" src="/Blog/Public/js/bootstrap.min.js"></script>
		<link rel="stylesheet" type="text/css" href="/Blog/Public/css/bootstrap.min.css" />
		<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
		<title></title>
		<style type="text/css">
			body{
				 overflow:auto;  
				 background: #F8F8F8;           
			}
			.right_icon {
				float: right;
			}
			.left_icon {
				float: left;
			}
			.list-group{
				margin:0;
			}
			.soncate_item{
				background: #F8F8F8;
			}
			.soncate{
				display: none;
			}
		</style>
	</head>

	<body>
		<div class="list-group">
			<a href="<?php echo U('welcome');?>" target="rightFrame" class="list-group-item active list_item">
  	  	<span class=" glyphicon glyphicon-home"></span>&nbsp;首页
  	  <span class="glyphicon glyphicon-chevron-right right_icon"></span>
  		</a>
		</div>
		<div class="list-group">
			<a href="javascript:;" class="list-group-item list_item">
  	  		<span class="glyphicon glyphicon-file"></span>&nbsp;文章
  	  		<span class="glyphicon glyphicon-chevron-right right_icon"></span>
  		</a>
	  		<div class="list-group soncate">
	  			<a href="<?php echo U('Article/index');?>" target="rightFrame" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-book"></span>&nbsp;所有文章
	  	  		<span class="right_icon"></span>
	  	  		
	  			<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-pencil"></span>&nbsp;发表文章
	  	  		<span class="right_icon"></span>
	  	  		
				<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-inbox"></span>&nbsp;草稿
	  	  		<span class="right_icon"></span>
	  	  		
	  	  		<a href="<?php echo U('Category/index');?>" target="rightFrame" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-list"></span>&nbsp;分类
	  	  		<span class="right_icon"></span>
	  	  		
	  	  		<a href="<?php echo U('Tag/index');?>" target="rightFrame" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-tag"></span>&nbsp;标签
	  	  		<span class="right_icon"></span>
	  	  		
	  	  		
	  	  		<!--<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-book"></span>&nbsp;个人事本
	  	  		<span class=" right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-comment"></span>&nbsp;最新留言
	  	  		<span class="badge left_icon">3</span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-tag"></span>&nbsp;个人名片夹
	  	  		<span class="right_icon"></span>-->
	  	  		
	  	  		
  		</a>
		</div>
		</div>
		<div class="list-group">
			<a href="javascript:;" class="list-group-item list_item">
  	  		<span class="glyphicon glyphicon-picture"></span>&nbsp;附件
  	  		<span class="glyphicon glyphicon-chevron-right right_icon"></span>
  		</a>
	  		<div class="list-group soncate">
				<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-folder-open"></span>&nbsp;所有附件
	  	  		<span class="right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-open"></span>&nbsp;添加附件
	  	  		<span class="right_icon"></span>
	  	  		<!--<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class=" glyphicon glyphicon-list-alt"></span>&nbsp;档案管理
	  	  		<span class="right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class=" glyphicon glyphicon-plane"></span>&nbsp;接待管理
	  	  		<span class=" right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class=" glyphicon glyphicon-bullhorn"></span>&nbsp;发布公告
	  	  		<span class="right_icon"></span>-->
	  	  		
	  	  		
  		</a>
		</div>
		</div>
		<div class="list-group">
			<a href="javascript:;" class="list-group-item list_item">
  	  		<span class="glyphicon glyphicon-user"></span>&nbsp;用户
  	  		<span class="glyphicon glyphicon-chevron-right right_icon"></span>
  		</a>
	  		<div class="list-group soncate">
				<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-user"></span>&nbsp;所有用户
	  	  		<span class="right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-plus"></span>&nbsp;添加用户
	  	  		<span class="right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-eye-open"></span>&nbsp;我的资料
	  	  		<span class="right_icon"></span>
	  	  		
  		</a>
		</div>
		</div>
		<div class="list-group">
			<a href="javascript:;" class="list-group-item list_item">
  	  		<span class="glyphicon glyphicon-bell"></span>&nbsp;评论
  	  		<span class="badge">42</span>
  		</a>
		</div>
		<div class="list-group">
			<a href="javascript:;" class="list-group-item list_item">
  	  		<span class="glyphicon glyphicon-comment"></span>&nbsp;留言
  	  		<span class="badge">42</span>
  		</a>
		</div>
		<div class="list-group">
			<a href="javascript:;" class="list-group-item list_item">
  	  		<span class=" glyphicon glyphicon-cog"></span>&nbsp;系统
  	  		<span class="glyphicon glyphicon-chevron-right right_icon"></span>
  		</a>
	  		<div class="list-group soncate">
				<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-calendar"></span>&nbsp;站点设置
	  	  		<span class="right_icon"></span>
	  	  		<a href="#" class="list-group-item soncate_item">
	  	  		&nbsp;&nbsp;<span class="glyphicon glyphicon-list"></span>&nbsp;其他设置
	  	  		<span class="right_icon"></span>
  		</a>
		</div>
		</div>
		<script type="text/javascript">
			$(function(){
				$('.list_item').click(function(){
					$('.list_item').removeClass('active');
					$(this).find('.right_icon').toggleClass('glyphicon-chevron-down');
					$(this).addClass('active');
					$(this).siblings('.soncate').slideToggle('fast');
				})
				$('.soncate_item').hover(function(){
					$(this).find('.right_icon').toggleClass('glyphicon glyphicon-chevron-right');
				})
				$('.soncate_item').click(function(){
					$(this).find('.right_icon').addClass('glyphicon glyphicon-chevron-right');
					$('.soncate_item').find('.right_icon').removeClass('glyphicon glyphicon-chevron-right');
				})
			})
		</script>
	</body>

</html>